<template>
  <div>
    <el-container>
      <el-header>
        <el-row>
          <el-col :span="18">
            <h1>酬金管理系统</h1>
          </el-col>
          <el-col :span="6">
            userName
          </el-col>
        </el-row>
      </el-header>
      <el-container>
        <el-aside width="210px"><left-menu/></el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script>
  import LeftMenu from '../components/LeftMenu'
  export default {
    name:'Home',
    components:{
      LeftMenu
    }
  }
</script>

<style scoped>
  h1{
    text-align: left;
    letter-spacing: 2px;
  }
  .el-header {
    background-color: #3e71a5;
    color: white;
    text-align: center;
    line-height: 60px;
  }

  .el-aside {
    background-color: #304156;
    color: white;
    text-align: center;
    line-height: 200px;
  }

  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 160px;
  }

  body > .el-container {
    margin-bottom: 40px;
  }

  .el-container:nth-child(5) .el-aside,
  .el-container:nth-child(6) .el-aside {
    line-height: 260px;
  }

  .el-container:nth-child(7) .el-aside {
    line-height: 320px;
  }
  .el-main {
    min-height: 750px;
  }
</style>